package com.itita.mp3player.download;
/**
 * @author Lukasz Wisniewski
 */
public interface DownloadJobListener {
	
	/**
	 * Callback invoked when a download finishes
	 */
	public void downloadEnded(DownloadJob job);
	
	/**
	 * Callback invoked when a download starts 
	 */
	public void downloadStarted();
	
	/**
	 * Callback invoked when a download inin success
	 */
	public void downLoadInitSuccess(DownloadJob job);
	
	/**
	 * Callback invoked when a download new Data
	 */
	public void downProgressUpdate(DownloadJob job);
	
	/**
	 * callback pause a download job
	 * @param job
	 */
	public void downloadPause(DownloadJob job,String Message);
	
	/**
	 * 
	 * @param job
	 */
	public void downloadCancle(DownloadJob job);
	

}
